import { NavBar, List } from 'antd-mobile';
import React from 'react';
import { useHistory } from 'react-router-dom';

// import styles from './home.module.less';

// interface IhomeProps {}

/** 首页 */
function HomeFC() {
  const history = useHistory();
  return (
    <div className="whole-height">
      <NavBar>首页</NavBar>
      <List style={{ margin: '5px 0', backgroundColor: 'white' }}>
        <List.Item arrow="horizontal" onClick={() => { history.push('/eox/home'); }}>
          世界树迷宫X
        </List.Item>
      </List>
    </div>
  );
}

export default HomeFC;
